package com.kaifamiao.date1105;

public class DecimalTest {

	public static void main(String[] args) {
		
		Decimal d = new Decimal( 20 );
		
		String hex = d.toHexString();
		System.out.println( hex );
		
		String otc = d.toOctString();
		System.out.println( otc );
		
		String binary = d.toBinaryString();
		System.out.println( binary );
	}

}
